from mongoengine import *

connect('logs',host='localhost',port=27017)


class BaoZiLog(Document):
    _id = ObjectIdField()
    entity_id = StringField()
    error = StringField()
    env_time = DateTimeField()
    img_info = StringField()
    none = StringField()
    media_name = StringField()